﻿#region Using Directives

using System;
using System.Data.Common;

#endregion

namespace GeekRule.ORM
{
    /// <summary>
    /// Interface for vendor-specific DataContext implementations
    /// </summary>
    public interface IDataContext
    {
        DataContextType ContextType { get; }
        DbConnection Connection { get; set; }
        DbTransaction Transaction { get; set; }
        bool HasDbTransaction { get; }
    }
}
